<!DOCTYPE html>
<html>
<head>
{if $zbp->Config('baobk')->seo=='1'}
{if $type=='article'}
  <title>{$title}-{$name}</title>
  {php}
    $aryTags = array();
    foreach($article->Tags as $key){
      $aryTags[] = $key->Name;
    }
    if(count($aryTags)>0){
        $keywords = implode(',',$aryTags);
    } else {
        $keywords = $zbp->name;
    }
    $description = preg_replace('/[\r\n\s]+/', ' ', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),135)).'...');
  {/php}
  <meta name="keywords" content="{$keywords}"/>
  <meta name="description" content="{$description}"/>
{elseif $type=='page'}
  <title>{$title}-{$name}</title>
  <meta name="keywords" content="{$title},{$name}"/>
  {php}
    $description = preg_replace('/[\r\n\s]+/', ' ', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),135)).'...');
  {/php}
  <meta name="description" content="{$description}"/>
  <meta name="author" content="{$article.Author.StaticName}">
{elseif $type=='index'}
  <title>{$name}{if $page>'1'}-第{$pagebar.PageNow}页{/if}-{$subname}</title>
  <meta name="Keywords" content="{$zbp->Config('baobk')->keyword}">
  <meta name="description" content="{$zbp->Config('baobk')->description}">
  <meta name="author" content="{$zbp.members[1].StaticName}">
{else}
  <title>{$title}-{$name}-第{$pagebar.PageNow}页</title>
  <meta name="Keywords" content="{$title},{$name}">
  <meta name="description" content="{$title}_{$name}_当前是第{$pagebar.PageNow}页">
  <meta name="author" content="{$zbp.members[1].StaticName}">
{/if}
{else}
 <title>{$name}-{$title}</title>
{/if}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel='stylesheet' id='bootstrap-css'  href='{$host}zb_users/theme/{$theme}/a/bootstrap.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='fontawesome-css'  href='{$host}zb_users/theme/{$theme}/a/font-awesome.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='flexslider-css'  href='{$host}zb_users/theme/{$theme}/a/flexslider.css' type='text/css' media='all' />
<link rel='stylesheet' id='zan-css'  href='{$host}zb_users/theme/{$theme}/a/zan.css' type='text/css' media='all' />
<script src="{$host}zb_system/script/common.js" type="text/javascript"></script>
<script src="{$host}zb_system/script/c_html_js_add.php" type="text/javascript"></script>
{$header}
<!--[if lt IE 9]>
  <script src="{$host}zb_users/theme/{$theme}/a/modernizr.js"></script>
  <script src="{$host}zb_users/theme/{$theme}/a/respond.min.js"></script>
  <script src="{$host}zb_users/theme/{$theme}/a/html5shiv.js"></script>
<![endif]-->
</head>
<body class="archive tag tag-34 tag-34">
  <header id="zan-header">
    <!-- logo -->
    <div class="header">
      <a href="{$host}" class="logo" data-toggle="animation"></a>
    </div>
    <!-- logo结束 -->
    <!-- 导航 -->
    <div class="navbar navbar-inverse" >
      <div class="container clearfix">
        <div class="navbar-header">
          <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">下拉框</span>
            <span class="fa fa-reorder fa-lg"></span>
          </button>
        </div>
        <nav class="navbar-collapse collapse">
          <ul id="menu-navbar" class="nav navbar-nav">
          {module:navbar}</ul>        </nav>
      </div>
    </div>
    <!-- 导航结束 -->

  </header>